<template>
	<view>
		<image class="w-100" :show-menu-by-longpress='true'  v-if='image!=""' mode="widthFix" :src="image" ></image>
	</view>
</template>

<script lang='ts' setup>
import { ref } from 'vue'
import { onLoad } from '@dcloudio/uni-app'
import { $http } from '@/utils'
const image=ref("")
onLoad(()=>{
	getPoster()
})
const getPoster=(()=>{
	uni.showLoading({
		title:'加载中...',
		mask:true
	})
	$http.get('Dealer/getPoster').then(res=>{
		uni.hideLoading()
		image.value=res.data.image
	})
})
</script>

<style>
	
</style>